package com.leetcode.entity;

/**
 * @Classname TreeNode
 * @Description 二叉树
 * @Date 2020/9/2 15:09
 * @Created by zfl
 */
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;
    TreeNode() {}
    public TreeNode(int val) {this.val = val;}
    TreeNode(int val,TreeNode left,TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
